//package com.chilly.service.impl;
//
//import org.springframework.context.support.ClassPathXmlApplicationContext;
//
///**
// * Start service provider  启动spring容器，自动发布服务
// * Created by Chilly Cui on 2020/12/3.
// */
//public class Provider {
//    public static void main(String[] args) throws Exception {
////        System.setProperty("java.net.preferIPv4Stack", "true");
//        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"classpath:dubbo-provider.xml"});
//        context.start();
//        System.out.println("Provider started.");
//        System.in.read(); // press any key to exit
//    }
//}
